<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_need_recommend')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[reg_need_recommend]', $needList, 0)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_key" class="form-control form-control" name="row[dev_key]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_user" class="form-control form-control" name="row[dev_user]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_flag" class="form-control form-control" name="row[dev_flag]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_login')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_login" class="form-control form-control" name="row[dev_login]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_url" class="form-control form-control" name="row[dev_url]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dev_user_pwd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dev_user_pwd" class="form-control form-control" name="row[dev_user_pwd]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iot_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iot_key" class="form-control form-control" name="row[iot_key]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iot_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iot_user" class="form-control form-control" name="row[iot_user]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iot_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iot_url" class="form-control form-control" name="row[iot_url]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Call_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-call_fee" class="form-control form-control" name="row[call_fee]" type="number" value="20">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Max_call_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_call_time" class="form-control form-control"  name="row[max_call_time]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_protocol')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_protocol" class="form-control form-control" name="row[reg_protocol]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qq_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qq_key" class="form-control form-control" name="row[qq_key]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qq_appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qq_appid" class="form-control form-control" name="row[qq_appid]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_appsecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_appsecret" class="form-control form-control" name="row[wx_appsecret]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_appid" class="form-control form-control" name="row[wx_appid]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Test')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-test" class="form-control form-control" name="row[test]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recharge_send_sms')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[recharge_send_sms]', $sendList, 0)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recharge_template_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recharge_template_id" class="form-control form-control" name="row[recharge_template_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Integral_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-integral_name" class="form-control form-control" name="row[integral_name]" type="text" value="积分">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Balance_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-balance_name" class="form-control form-control" name="row[balance_name]" type="text" value="余额">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone_balance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone_balance" class="form-control form-control" name="row[phone_balance_name]" type="text" value="话费">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Voucher_balance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-voucher_balance" class="form-control form-control" name="row[voucher_balance_name]" type="text" value="优惠券">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_user_level')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[share_user_level]', $levelList, 0)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appstore_version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appstore_version" class="form-control form-control" name="row[appstore_version]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_0')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_0" class="form-control form-control" name="row[user_level_0_name]" type="text" value="普通会员">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_1" class="form-control form-control" name="row[user_level_1_name]" type="text" value="VIP">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_2" class="form-control form-control" name="row[user_level_2_name]" type="text" value="初级代理商">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_3" class="form-control form-control" name="row[user_level_3_name]" type="text" value="中级代理商">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_level_4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_level_4" class="form-control form-control" name="row[user_level_4_name]" type="text" value="高级代理商">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Video_vip_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-video_vip_url" class="form-control form-control" name="row[video_vip_url]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Video_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-video_rate" class="form-control form-control" name="row[video_rate]" type="text" value="20">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
